package com.center.growcenterserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.center.growcenterserver.common.R;
import com.center.growcenterserver.model.domain.Teacher;
import com.center.growcenterserver.model.request.TeacherRequest;

import javax.servlet.http.HttpSession;

public interface TeacherService extends IService<Teacher> {

    R allTeachers(IPage<Teacher> page);

    R deleteTeacherById(String id);

    R deleteTeacherByIds(String[] ids);

    R selectTeacherInfo();

    int updateTeacherImage(String id, String picUrl);

    int addTeacher(Teacher Teacher);

    R updateTeacher(TeacherRequest TeacherRequest);

    R verityPasswd(TeacherRequest teacherRequest, HttpSession session);


    // 其他可能的方法
}
